FROM kafka:0.10.0.1

MAINTAINER CloudTrackInc

RUN java -version

COPY kubernetes-expander-1.0-SNAPSHOT.jar $KAFKA_HOME/libs/

ADD kafka-autoextend-partitions.sh /usr/bin/kafka-autoextend-partitions.sh
ADD kafka-kubernetes-start.sh /usr/bin/kafka-kubernetes-start.sh

CMD ["kafka-kubernetes-start.sh"]
